﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZhouYu.DreamTour.Model
{
    public class SmsInfo  //短信类
    {
        //短信Id
        public int Id { get; set; }       
        //验证码
        public int Code { get; set; }
        //电话
        public Int64 TelPhone { get; set; }
        //创建时间
        public DateTime CreateTime { get; set; }
        //过期时间
        public DateTime ExpireTime { get; set; }

        //无参构造
        public SmsInfo()
        {

        }

        //有参构造
        public SmsInfo(int id, int code, long telPhone, DateTime createTime, DateTime expireTime)
        {
            Id = id;
            Code = code;
            TelPhone = telPhone;
            CreateTime = createTime;
            ExpireTime = expireTime;
        }
    }
}
